﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FastPurchaseAdd.aspx.cs"
    Inherits="Admin_Trade_FastPurchaseAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>快速发布求购信息</title>

    <script type="text/javascript" src="../../js/calendar.js"></script>

    <script type="text/javascript" src="../../js/Industry.js"></script>

    <link rel="stylesheet" href="../skin/style.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
                <asp:HiddenField ID="txtSortB" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortM" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortS" runat="server"></asp:HiddenField>
                <asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="red"></asp:Label>
                <a name="flagKeyword"></a>
        <div class="talbe_border">
                <table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
                <tr>
                    <th colspan="2" class="header tou">
                       快速发布求购信息</th>
                </tr>
                    <tr>
                        <td width="16%" class="left1">
                            <strong>商机名称：</strong><font class="red">*</font>
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtName" MaxLength="100" runat="server" Width="200px">                                </asp:TextBox></span>
                            <div id="txt0">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>关键字：</strong><font class="red">*</font>
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtKey" MaxLength="50" runat="server" Width="200px"></asp:TextBox></span><div
                                    id="txt1">
                                </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>行业分类：</strong><font class="red">*</font></td>
                        <td class="left2">
                            <span>
                                <select id="SortB" name="SortB" runat="server" size="8" style="width: 132px">
                                </select>
                                <select id="SortM" name="SortM" runat="server" size="8" style="width: 132px">
                                </select>
                                <select id="SortS" name="SortS" runat="server" size="8" style="width: 132px">
                                </select>
                            </span>
                            <div id="hangye">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>详细说明：</strong>
                        </td>
                        <td>
                            <FCKeditorV2:FCKeditor ID="txtContent" runat="server" BasePath="~/Control/fckeditor/"
                                ToolbarSet="Basic" Height="400px" Width="640px">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            产品图片：
                        </td>
                        <td class="left2">
                            <asp:HiddenField ID="ImgUrl1" runat="server" />
                            <a href="" id="txturldz" target="_blank">
                                <img border="0" src="../../Images/System/wutu.gif" id="ImgUrl" name="ImgUrl" alt=""
                                    runat="server" style="width: 106px; height: 95px" /></a><br />
                            <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                            <div id="rowTest" style="display: none">
                                <iframe name="tag" src="../../Control/Upload.html" style="width: 550px; height: 120px"
                                    frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                                </iframe>
                            </div>
                        </td>
                    </tr>
                    <a name="xiangxi"></a>
                    <tr>
                        <td class="left1">
                            <strong>有效期：</strong>
                        </td>
                        <td class="left2">
                            <asp:RadioButtonList ID="RadioTime" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                <asp:ListItem Value="10">10天</asp:ListItem>
                                <asp:ListItem Value="20">20天</asp:ListItem>
                                <asp:ListItem Value="30">1个月</asp:ListItem>
                                <asp:ListItem Value="90">3个月</asp:ListItem>
                                <asp:ListItem Selected="True" Value="180">6个月</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>品牌：</strong>
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtBrand" runat="server" Width="133px"></asp:TextBox></span>
                            <div id="txt2">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>型号：</strong>
                        </td>
                        <td style="height: 14px" class="left2">
                            <span>
                                <asp:TextBox ID="txtModel" runat="server" Width="131px"></asp:TextBox></span>
                            <div id="txt3">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>需求数量：</strong><font class="red">*</font>
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtCount" onkeyup="if(event.keyCode!=37&&event.keyCode!=39)value=value.replace(/\D/g,'');"
                                    runat="server" Width="130px"></asp:TextBox></span>
                            <div id="txt4">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            <strong>产品单价：</strong><font class="red">*</font>
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtPrice" runat="server" Width="68px"></asp:TextBox>
                                元 /
                                <asp:DropDownList ID="dropUnit" runat="server">
                                </asp:DropDownList></span>
                            <div id="txt5">
                            </div>
                        </td>
                    </tr>
                    <tr align="center">
                        <td colspan="2" bgcolor="#F0F7FD">
                            <asp:Button ID="btnSave" runat="server" Text="发布" CssClass="i_button" OnClick="btnSave_Click" />
                            <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>

    <script language="javascript" type="text/javascript">
	   setup(0);
    </script>

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript" src="../js/Purchases.js"></script>

</body>
</html>
